﻿@font-face {
    font-family: "reportingservicesglyphs-regular";
    src: url("@EotFontSrc");
    src: url("@EotFontSrc?#iefix") format("embedded-opentype"),
         url("@WoffFontSrc") format("woff"),
         url("@TtfFontSrc") format("truetype"),
         url("@SvgFontSrc#PowerBIGlyphs-regular") format("svg");
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
}

@ReportViewerControlSelector .glyphui {
    position: relative;
    top: 2px;
    display: inline-block;
    font-family: "reportingservicesglyphs-regular";
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    font-size: 14pt;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@ReportViewerControlSelector .glyphui-calendar:before {
    content: "\0048";
}

@ReportViewerControlSelector .glyphui-powerbi:before {
    content: "\0045";
}

@ReportViewerControlSelector .glyphui-refresh:before {
    content: "\0046";
}

@ReportViewerControlSelector .glyphui-back:before {
    content: "\0047";
}

@ReportViewerControlSelector .glyphui-firstpage:before {
    content: "\0041";
}

@ReportViewerControlSelector .glyphui-lastpage:before {
    content: "\0042";
}

@ReportViewerControlSelector .glyphui-previouspage:before {
    content: "\0043";
}

@ReportViewerControlSelector .glyphui-nextpage:before {
    content: "\0044";
}

@ReportViewerControlSelector .glyphui-downarrow:before {
    content: "\004B";
}

@ReportViewerControlSelector .glyphui-save:before {
    content: "\004A";
}

@ReportViewerControlSelector .glyphui-print:before {
    content: "\0049";
}

@ReportViewerControlSelector .MenuBarBkGnd div,
@ReportViewerControlSelector .MenuBarBkGnd span,
@ReportViewerControlSelector .DocMapBar
    {
    color: @ForegroundColor;
}

/* Override default link styling ie. on toolbar links */
@ReportViewerControlSelector .ActiveLink:link {
    color: @ForegroundColor;
}

@ReportViewerControlSelector .ActiveLink:hover {
    color: @ForegroundColor;
}

@ReportViewerControlSelector .ActiveLink:visited {
    color: @ForegroundColor;
}

@ReportViewerControlSelector .ActiveLink:visited:hover {
    color: @ForegroundColor;
}

/*
    Generic properties
*/

@ReportViewerControlSelector :focus {
    outline: 2px dotted @ForegroundColor;
}

@ReportViewerControlSelector[role=document] :focus { /* When focus is on the report indent otherwise focus is hidden by the browser edge */
    outline-offset: -3px;
}

/*
    Toolbar icons
*/

@ReportViewerControlSelector span.glyphui {/* Default styling of toolbar icons */
    color: @ForegroundColor;
}

@ReportViewerControlSelector .aspNetDisabled.DisabledButton span.glyphui {
    color: @DisabledForegroundColor; /* Toolbar icons that are not enabled */
}

@ReportViewerControlSelector .MenuBarBkGnd .HoverButton { /* Hover effect */
    background-color: @HoverBackgroundColor;
}

@ReportViewerControlSelector .chromeless-button {
    background: none;
    border: none;
}

@ReportViewerControlSelector .chromeless-button :focus  {
    outline-color: none;
}

/*
    Wait spinnie
*/

@ReportViewerControlSelector .WaitControlBackground {
    background-color: @BackgroundColor;
    border-color: @BorderColor;
}

@ReportViewerControlSelector .WaitText {
    font-size: @FontSize;
    font-family: @FontFamily;
    color: @ForegroundColor;
}

@ReportViewerControlSelector a.CancelLinkText,
@ReportViewerControlSelector a.CancelLinkText:visited {
    color: @ForegroundColor;
}

@ReportViewerControlSelector .CancelLinkText {
    font-size: @FontSize;
    font-family: @FontFamily;
}

@ReportViewerControlSelector .sk-circle .sk-child:before {
    background-color: @ForegroundColor;
}

@ReportViewerControlSelector .spinnie .dot:after{
    background: @ForegroundColor;
}

/*
    Paramater region
*/

@ReportViewerControlSelector .ParametersFrame {
    background-color: @BackgroundColor;
    border-color: @BorderColor;
}

@ReportViewerControlSelector .ParametersFrame span.glyphui:hover {/* Default styling of toolbar icons */
    color: @HoverForegroundColor;
    background-color: @HoverBackgroundColor;
}

@ReportViewerControlSelector .ParamEntryCell .glyphui.glyphui-downarrow {
    font-size: 8pt;
}

/*
    Generic toolbar
*/

@ReportViewerControlSelector .ToolBarButtonsCell { /* Basic toolbar icons */
    border-color: @BorderColor;
}

@ReportViewerControlSelector .ToolBarBackground { /* Background color of the toolbar */
    background-color: @BackgroundColor;
}

@ReportViewerControlSelector .ToolbarExport.WidgetSet,
@ReportViewerControlSelector .ToolbarFind.WidgetSet,
@ReportViewerControlSelector .ToolbarZoom.WidgetSet,
@ReportViewerControlSelector .ToolbarPageNav.WidgetSet,
@ReportViewerControlSelector .ToolbarRefresh.WidgetSet,
@ReportViewerControlSelector .ToolbarPrint.WidgetSet,
@ReportViewerControlSelector .ToolbarBack.WidgetSet,
@ReportViewerControlSelector .ToolbarPowerBI.WidgetSet {
    border-color: @BorderColor;
}

@ReportViewerControlSelector .DisabledLink {
    color: @DisabledForegroundColor;
}

@ReportViewerControlSelector .DisabledLink:hover {
    color: @DisabledForegroundColor;
}

@ReportViewerControlSelector .DisabledTextBox {
    background-color: #FFFFFF;
}

@ReportViewerControlSelector .NormalButton {
    font-size: @FontSize;
    font-family: @FontFamily;
}

@ReportViewerControlSelector .DisabledButton {
    font-size: @FontSize;
    font-family: @FontFamily;
}

/*
    Export drop down
*/

@ReportViewerControlSelector .ToolbarExport .MenuBarBkGnd div { /* Border of items in the drop down menu */
    background-color: @BackgroundColor;
    border-color: @BorderColor;
}

@ReportViewerControlSelector .ToolbarExport .MenuBarBkGnd .HoverButton { /* Hover effect on drop down menu items */
    background-color: @HoverBackgroundColor;
}

@ReportViewerControlSelector .ToolbarExport .glyphui-downarrow {
    font-size: 8pt;
}

/*
    Border between the document map, param region and the report
*/

@ReportViewerControlSelector .SplitterNormal,
@ReportViewerControlSelector .SplitterHover {
    background-color: @BorderColor;
}

/*
    Document map
*/

@ReportViewerControlSelector .DocMapFrame,
@ReportViewerControlSelector .DocMapTitle {
    border-color: @BorderColor; /* Border of the document map region */
}

@ReportViewerControlSelector .documentMapHighlighting { /* Hover over docmap entry */
    background-color: @HoverBackgroundColor;
    color: @HoverForegroundColor
}

@ReportViewerControlSelector .DocMapContentCell a {
    color: #000000;
}

/*
    Search
*/

@ReportViewerControlSelector .searchHighlighting {
    background-color: @HighlightBackgroundColor;
}


/*
    Print dialog
*/

@ReportViewerControlSelector .msrs-printdialog-main {
    font-family: @FontFamily;
}

@ReportViewerControlSelector .msrs-printdialog-caption,
@ReportViewerControlSelector .msrs-printdialog-list-pageorientation {
    font-family: @FontFamily;
}

@ReportViewerControlSelector .msrs-printdialog-list-pagesize {
    font-family: @FontFamily;
}

@ReportViewerControlSelector .msrs-printdialog-divbuttons {
    font-family: @FontFamily;
    background-color: @PrimaryButtonBackgroundColor;
    color: @PrimaryButtonForegroundColor;
}

@ReportViewerControlSelector .msrs-printdialog-divhighlightbutton:hover,
@ReportViewerControlSelector .msrs-printdialog-divhighlightbutton:focus {
    background-color: @PrimaryButtonHoverBackgroundColor;
    color: @PrimaryButtonHoverForegroundColor;
}

@ReportViewerControlSelector .msrs-printdialog-divhighlightbutton {
    background-color: @PrimaryButtonBackgroundColor;
    border-color: @PrimaryButtonBackgroundColor;
    color: @PrimaryButtonForegroundColor;
}

@ReportViewerControlSelector .msrs-printdialog-divnonhightlightbutton:hover,
@ReportViewerControlSelector .msrs-printdialog-divnonhightlightbutton:focus {
    background-color:@SecondaryButtonHoverBackgroundColor;
    color: @SecondaryButtonHoverForegroundColor;
}

@ReportViewerControlSelector .msrs-printdialog-divnonhightlightbutton {
    background-color: @SecondaryButtonBackgroundColor;
    border-color: @SecondaryButtonBackgroundColor;
    color: @SecondaryButtonForegroundColor;
}
